#include "dialog.h"
#include "ui_dialog.h"

Dialog::Dialog(QWidget *parent, QString strMessage) :
    QDialog(parent),
    ui(new Ui::Dialog)
{
    ui->setupUi(this);
    ui->textEdit->setText(strMessage);
    setWindowTitle("注册认证");
}

Dialog::~Dialog()
{
    delete ui;
}

void Dialog::on_buttonBox_accepted()
{
    this->close();
    deleteLater();
}
